#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/6/30 12:21
# @Author : 闫峰
# @File    : urls.py
from flask import Blueprint

from flask_service.third_charge.views.views import v1_third_getchargeid,v1_third_begincharging,v1_third_endcharging,get_scheduling_policy

"""
v1_third_charge api路由配置
"""
v1_third_charge_bp = Blueprint('v1_third_charge', __name__)

v1_third_charge_bp.add_url_rule('/v1/third/getchargeid',
                        view_func=v1_third_getchargeid,
                        methods=['POST','PUT','DELETE','GET'])

v1_third_charge_bp.add_url_rule('/v1/third/begincharging',
                        view_func=v1_third_begincharging,
                        methods=['POST','PUT','DELETE','GET'])

v1_third_charge_bp.add_url_rule('/v1/third/endcharging',
                        view_func=v1_third_endcharging,
                        methods=['POST','PUT','DELETE','GET'])


v1_third_charge_bp.add_url_rule('/api/sdk/scheduling_policy',
                        view_func=get_scheduling_policy,
                        methods=['POST','PUT','DELETE','GET'])
